package cn.itsource.org.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.org.domain.Employee;
import cn.itsource.org.query.EmployeeQuery;

import java.util.List;

/**
 * Employee mapper要实现crud，分页
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    //批量移除
    void bulkRemove(List<Long> ids);

    Employee loadByUser(Employee admin);

    Employee loadByLoginInfoId(Long loginInfoId);
}
